[INFO] cloning repository https://github.com/uranixcz/resource_mng
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uranixcz/resource_mng" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Furanixcz%2Fresource_mng", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Furanixcz%2Fresource_mng'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2f4cfb721277a1b0df22e9c20a38636010d6ab9b
[INFO] testing uranixcz/resource_mng against master#cced03bfd61a304243a34504618ecec86c17063f for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Furanixcz%2Fresource_mng" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/uranixcz/resource_mng
[INFO] finished tweaking git repo https://github.com/uranixcz/resource_mng
[INFO] tweaked toml for git repo https://github.com/uranixcz/resource_mng written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/uranixcz/resource_mng on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/uranixcz/resource_mng already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rand v0.4.6
[INFO] [stderr]   Downloaded libc v0.2.49
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 36f95baa4fe7c51560ec3e5c565d7e669f892fe333e90fa66a655ef78f5a30dc
[INFO] running `Command { std: "docker" "start" "-a" "36f95baa4fe7c51560ec3e5c565d7e669f892fe333e90fa66a655ef78f5a30dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "36f95baa4fe7c51560ec3e5c565d7e669f892fe333e90fa66a655ef78f5a30dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36f95baa4fe7c51560ec3e5c565d7e669f892fe333e90fa66a655ef78f5a30dc", kill_on_drop: false }`
[INFO] [stdout] 36f95baa4fe7c51560ec3e5c565d7e669f892fe333e90fa66a655ef78f5a30dc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7fa87d418099b28e7dfec5fc81383aa7f8b022d64bcd969d0edd76e320630690
[INFO] running `Command { std: "docker" "start" "-a" "7fa87d418099b28e7dfec5fc81383aa7f8b022d64bcd969d0edd76e320630690", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.49
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling resource-mng v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub extern fn get_scarcity(&self) -> f64 { //100/2=50
[INFO] [stdout]    |         ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:142:5
[INFO] [stdout]     |
[INFO] [stdout] 142 | pub extern fn init() -> Box<Instance> {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:153:5
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub extern fn add_material(instance: &mut Instance, supply: f64) -> u8 {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:168:5
[INFO] [stdout]     |
[INFO] [stdout] 168 | pub extern fn add_product(instance: &mut Instance, material_id: usize, material_amount: f64, priority: usize, work_complexity: f64)...
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:190:5
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub extern fn order_product(instance: &mut Instance,
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:260:5
[INFO] [stdout]     |
[INFO] [stdout] 260 | pub extern fn process_queue(instance: &mut Instance) {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:271:5
[INFO] [stdout]     |
[INFO] [stdout] 271 | pub extern fn update_supply(instance: &mut Instance, id: usize, amount: f64) -> bool {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:289:5
[INFO] [stdout]     |
[INFO] [stdout] 289 | pub extern fn add_product_variant(instance: &mut Instance, product_id: usize, material_id: usize, material_amount: f64, work_comple...
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:308:5
[INFO] [stdout]     |
[INFO] [stdout] 308 | pub extern fn get_material_count(instance: &Instance) -> usize {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:313:5
[INFO] [stdout]     |
[INFO] [stdout] 313 | pub extern fn get_material_demand(instance: &Instance, id: usize) -> f64 {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:318:5
[INFO] [stdout]     |
[INFO] [stdout] 318 | pub extern fn get_material_supply(instance: &Instance, id: usize) -> f64 {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:323:5
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub extern fn get_material_scarcity(instance: &Instance, id: usize) -> f64 {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:328:5
[INFO] [stdout]     |
[INFO] [stdout] 328 | pub extern fn get_product_count(instance: &Instance) -> usize {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:333:5
[INFO] [stdout]     |
[INFO] [stdout] 333 | pub extern fn get_product_supply(instance: &Instance, id: usize) -> f64 {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:338:5
[INFO] [stdout]     |
[INFO] [stdout] 338 | pub extern fn get_product_demand(instance: &Instance, id: usize) -> f64 {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:343:5
[INFO] [stdout]     |
[INFO] [stdout] 343 | pub extern fn get_product_priority(instance: &Instance, id: usize) -> usize {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:348:5
[INFO] [stdout]     |
[INFO] [stdout] 348 | pub extern fn get_product_variant(instance: &Instance, product_id: usize, variant_id: usize) -> Component {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:353:5
[INFO] [stdout]     |
[INFO] [stdout] 353 | pub extern fn get_next_finished(instance: &mut Instance) -> COption<Order> {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:370:5
[INFO] [stdout]     |
[INFO] [stdout] 370 | pub extern fn get_finished_count(instance: &Instance) -> usize {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:375:5
[INFO] [stdout]     |
[INFO] [stdout] 375 | pub extern fn get_queue_len(instance: &Instance) -> usize {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:388:5
[INFO] [stdout]     |
[INFO] [stdout] 388 | pub extern fn tst_set_product_supply(instance: &mut Instance, id: usize, count: f64) {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/internals.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 |             for mut variant in q_product.variants.iter_mut() {
[INFO] [stdout]    |                 ----^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/internals.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 let mut variant_material = materials.get_mut(variant.components.material_id).unwrap();
[INFO] [stdout]    |                     ----^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.15s
[INFO] running `Command { std: "docker" "inspect" "7fa87d418099b28e7dfec5fc81383aa7f8b022d64bcd969d0edd76e320630690", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7fa87d418099b28e7dfec5fc81383aa7f8b022d64bcd969d0edd76e320630690", kill_on_drop: false }`
[INFO] [stdout] 7fa87d418099b28e7dfec5fc81383aa7f8b022d64bcd969d0edd76e320630690
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 172dc6afb5dc95fdc9d5e40dc5701d4d6715154d1fb3c59e99e536c6d650ca77
[INFO] running `Command { std: "docker" "start" "-a" "172dc6afb5dc95fdc9d5e40dc5701d4d6715154d1fb3c59e99e536c6d650ca77", kill_on_drop: false }`
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub extern fn get_scarcity(&self) -> f64 { //100/2=50
[INFO] [stdout]    |         ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:142:5
[INFO] [stdout]     |
[INFO] [stdout] 142 | pub extern fn init() -> Box<Instance> {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:153:5
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub extern fn add_material(instance: &mut Instance, supply: f64) -> u8 {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:168:5
[INFO] [stdout]     |
[INFO] [stdout] 168 | pub extern fn add_product(instance: &mut Instance, material_id: usize, material_amount: f64, priority: usize, work_complexity: f64)...
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:190:5
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub extern fn order_product(instance: &mut Instance,
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:260:5
[INFO] [stdout]     |
[INFO] [stdout] 260 | pub extern fn process_queue(instance: &mut Instance) {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:271:5
[INFO] [stdout]     |
[INFO] [stdout] 271 | pub extern fn update_supply(instance: &mut Instance, id: usize, amount: f64) -> bool {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:289:5
[INFO] [stdout]     |
[INFO] [stdout] 289 | pub extern fn add_product_variant(instance: &mut Instance, product_id: usize, material_id: usize, material_amount: f64, work_comple...
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:308:5
[INFO] [stdout]     |
[INFO] [stdout] 308 | pub extern fn get_material_count(instance: &Instance) -> usize {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:313:5
[INFO] [stdout]     |
[INFO] [stdout] 313 | pub extern fn get_material_demand(instance: &Instance, id: usize) -> f64 {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:318:5
[INFO] [stdout]     |
[INFO] [stdout] 318 | pub extern fn get_material_supply(instance: &Instance, id: usize) -> f64 {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:323:5
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub extern fn get_material_scarcity(instance: &Instance, id: usize) -> f64 {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:328:5
[INFO] [stdout]     |
[INFO] [stdout] 328 | pub extern fn get_product_count(instance: &Instance) -> usize {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:333:5
[INFO] [stdout]     |
[INFO] [stdout] 333 | pub extern fn get_product_supply(instance: &Instance, id: usize) -> f64 {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:338:5
[INFO] [stdout]     |
[INFO] [stdout] 338 | pub extern fn get_product_demand(instance: &Instance, id: usize) -> f64 {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling resource-mng v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:343:5
[INFO] [stdout]     |
[INFO] [stdout] 343 | pub extern fn get_product_priority(instance: &Instance, id: usize) -> usize {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:348:5
[INFO] [stdout]     |
[INFO] [stdout] 348 | pub extern fn get_product_variant(instance: &Instance, product_id: usize, variant_id: usize) -> Component {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:353:5
[INFO] [stdout]     |
[INFO] [stdout] 353 | pub extern fn get_next_finished(instance: &mut Instance) -> COption<Order> {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:370:5
[INFO] [stdout]     |
[INFO] [stdout] 370 | pub extern fn get_finished_count(instance: &Instance) -> usize {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:375:5
[INFO] [stdout]     |
[INFO] [stdout] 375 | pub extern fn get_queue_len(instance: &Instance) -> usize {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:388:5
[INFO] [stdout]     |
[INFO] [stdout] 388 | pub extern fn tst_set_product_supply(instance: &mut Instance, id: usize, count: f64) {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/internals.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 |             for mut variant in q_product.variants.iter_mut() {
[INFO] [stdout]    |                 ----^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/internals.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 let mut variant_material = materials.get_mut(variant.components.material_id).unwrap();
[INFO] [stdout]    |                     ----^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub extern fn get_scarcity(&self) -> f64 { //100/2=50
[INFO] [stdout]    |         ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:142:5
[INFO] [stdout]     |
[INFO] [stdout] 142 | pub extern fn init() -> Box<Instance> {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:153:5
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub extern fn add_material(instance: &mut Instance, supply: f64) -> u8 {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:168:5
[INFO] [stdout]     |
[INFO] [stdout] 168 | pub extern fn add_product(instance: &mut Instance, material_id: usize, material_amount: f64, priority: usize, work_complexity: f64)...
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:190:5
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub extern fn order_product(instance: &mut Instance,
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:260:5
[INFO] [stdout]     |
[INFO] [stdout] 260 | pub extern fn process_queue(instance: &mut Instance) {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:271:5
[INFO] [stdout]     |
[INFO] [stdout] 271 | pub extern fn update_supply(instance: &mut Instance, id: usize, amount: f64) -> bool {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:289:5
[INFO] [stdout]     |
[INFO] [stdout] 289 | pub extern fn add_product_variant(instance: &mut Instance, product_id: usize, material_id: usize, material_amount: f64, work_comple...
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:308:5
[INFO] [stdout]     |
[INFO] [stdout] 308 | pub extern fn get_material_count(instance: &Instance) -> usize {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:313:5
[INFO] [stdout]     |
[INFO] [stdout] 313 | pub extern fn get_material_demand(instance: &Instance, id: usize) -> f64 {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:318:5
[INFO] [stdout]     |
[INFO] [stdout] 318 | pub extern fn get_material_supply(instance: &Instance, id: usize) -> f64 {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:323:5
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub extern fn get_material_scarcity(instance: &Instance, id: usize) -> f64 {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:328:5
[INFO] [stdout]     |
[INFO] [stdout] 328 | pub extern fn get_product_count(instance: &Instance) -> usize {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:333:5
[INFO] [stdout]     |
[INFO] [stdout] 333 | pub extern fn get_product_supply(instance: &Instance, id: usize) -> f64 {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:338:5
[INFO] [stdout]     |
[INFO] [stdout] 338 | pub extern fn get_product_demand(instance: &Instance, id: usize) -> f64 {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:343:5
[INFO] [stdout]     |
[INFO] [stdout] 343 | pub extern fn get_product_priority(instance: &Instance, id: usize) -> usize {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:348:5
[INFO] [stdout]     |
[INFO] [stdout] 348 | pub extern fn get_product_variant(instance: &Instance, product_id: usize, variant_id: usize) -> Component {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:353:5
[INFO] [stdout]     |
[INFO] [stdout] 353 | pub extern fn get_next_finished(instance: &mut Instance) -> COption<Order> {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:370:5
[INFO] [stdout]     |
[INFO] [stdout] 370 | pub extern fn get_finished_count(instance: &Instance) -> usize {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:375:5
[INFO] [stdout]     |
[INFO] [stdout] 375 | pub extern fn get_queue_len(instance: &Instance) -> usize {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/lib.rs:388:5
[INFO] [stdout]     |
[INFO] [stdout] 388 | pub extern fn tst_set_product_supply(instance: &mut Instance, id: usize, count: f64) {
[INFO] [stdout]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/internals.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 |             for mut variant in q_product.variants.iter_mut() {
[INFO] [stdout]    |                 ----^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/internals.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 let mut variant_material = materials.get_mut(variant.components.material_id).unwrap();
[INFO] [stdout]    |                     ----^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s
[INFO] running `Command { std: "docker" "inspect" "172dc6afb5dc95fdc9d5e40dc5701d4d6715154d1fb3c59e99e536c6d650ca77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "172dc6afb5dc95fdc9d5e40dc5701d4d6715154d1fb3c59e99e536c6d650ca77", kill_on_drop: false }`
[INFO] [stdout] 172dc6afb5dc95fdc9d5e40dc5701d4d6715154d1fb3c59e99e536c6d650ca77
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 562a193d0c7e5681ae63488e72c12f3b8c98e6223b1aa8089975a8bd86152e4f
[INFO] running `Command { std: "docker" "start" "-a" "562a193d0c7e5681ae63488e72c12f3b8c98e6223b1aa8089975a8bd86152e4f", kill_on_drop: false }`
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]   --> src/lib.rs:93:9
[INFO] [stderr]    |
[INFO] [stderr] 93 |     pub extern fn get_scarcity(&self) -> f64 { //100/2=50
[INFO] [stderr]    |         ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/lib.rs:142:5
[INFO] [stderr]     |
[INFO] [stderr] 142 | pub extern fn init() -> Box<Instance> {
[INFO] [stderr]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/lib.rs:153:5
[INFO] [stderr]     |
[INFO] [stderr] 153 | pub extern fn add_material(instance: &mut Instance, supply: f64) -> u8 {
[INFO] [stderr]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/lib.rs:168:5
[INFO] [stderr]     |
[INFO] [stderr] 168 | pub extern fn add_product(instance: &mut Instance, material_id: usize, material_amount: f64, priority: usize, work_complexity: f64)...
[INFO] [stderr]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/lib.rs:190:5
[INFO] [stderr]     |
[INFO] [stderr] 190 | pub extern fn order_product(instance: &mut Instance,
[INFO] [stderr]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/lib.rs:260:5
[INFO] [stderr]     |
[INFO] [stderr] 260 | pub extern fn process_queue(instance: &mut Instance) {
[INFO] [stderr]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/lib.rs:271:5
[INFO] [stderr]     |
[INFO] [stderr] 271 | pub extern fn update_supply(instance: &mut Instance, id: usize, amount: f64) -> bool {
[INFO] [stderr]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/lib.rs:289:5
[INFO] [stderr]     |
[INFO] [stderr] 289 | pub extern fn add_product_variant(instance: &mut Instance, product_id: usize, material_id: usize, material_amount: f64, work_comple...
[INFO] [stderr]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/lib.rs:308:5
[INFO] [stderr]     |
[INFO] [stderr] 308 | pub extern fn get_material_count(instance: &Instance) -> usize {
[INFO] [stderr]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/lib.rs:313:5
[INFO] [stderr]     |
[INFO] [stderr] 313 | pub extern fn get_material_demand(instance: &Instance, id: usize) -> f64 {
[INFO] [stderr]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/lib.rs:318:5
[INFO] [stderr]     |
[INFO] [stderr] 318 | pub extern fn get_material_supply(instance: &Instance, id: usize) -> f64 {
[INFO] [stderr]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/lib.rs:323:5
[INFO] [stderr]     |
[INFO] [stderr] 323 | pub extern fn get_material_scarcity(instance: &Instance, id: usize) -> f64 {
[INFO] [stderr]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/lib.rs:328:5
[INFO] [stderr]     |
[INFO] [stderr] 328 | pub extern fn get_product_count(instance: &Instance) -> usize {
[INFO] [stderr]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/lib.rs:333:5
[INFO] [stderr]     |
[INFO] [stderr] 333 | pub extern fn get_product_supply(instance: &Instance, id: usize) -> f64 {
[INFO] [stderr]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/lib.rs:338:5
[INFO] [stderr]     |
[INFO] [stderr] 338 | pub extern fn get_product_demand(instance: &Instance, id: usize) -> f64 {
[INFO] [stderr]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/lib.rs:343:5
[INFO] [stderr]     |
[INFO] [stderr] 343 | pub extern fn get_product_priority(instance: &Instance, id: usize) -> usize {
[INFO] [stderr]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/lib.rs:348:5
[INFO] [stderr]     |
[INFO] [stderr] 348 | pub extern fn get_product_variant(instance: &Instance, product_id: usize, variant_id: usize) -> Component {
[INFO] [stderr]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/lib.rs:353:5
[INFO] [stderr]     |
[INFO] [stderr] 353 | pub extern fn get_next_finished(instance: &mut Instance) -> COption<Order> {
[INFO] [stderr]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/lib.rs:370:5
[INFO] [stderr]     |
[INFO] [stderr] 370 | pub extern fn get_finished_count(instance: &Instance) -> usize {
[INFO] [stderr]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/lib.rs:375:5
[INFO] [stderr]     |
[INFO] [stderr] 375 | pub extern fn get_queue_len(instance: &Instance) -> usize {
[INFO] [stderr]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stderr]    --> src/lib.rs:388:5
[INFO] [stderr]     |
[INFO] [stderr] 388 | pub extern fn tst_set_product_supply(instance: &mut Instance, id: usize, count: f64) {
[INFO] [stderr]     |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/internals.rs:59:17
[INFO] [stderr]    |
[INFO] [stderr] 59 |             for mut variant in q_product.variants.iter_mut() {
[INFO] [stderr]    |                 ----^^^^^^^
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/internals.rs:60:21
[INFO] [stderr]    |
[INFO] [stderr] 60 |                 let mut variant_material = materials.get_mut(variant.components.material_id).unwrap();
[INFO] [stderr]    |                     ----^^^^^^^^^^^^^^^^
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: `resource-mng` (lib) generated 23 warnings (run `cargo fix --lib -p resource-mng` to apply 23 suggestions)
[INFO] [stderr] warning: `resource-mng` (lib test) generated 23 warnings (23 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/resource_mng-0841b4b7571fa651)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test tests::add_product_without_material ... ok
[INFO] [stdout] test tests::add_same_material ... ok
[INFO] [stdout] test tests::add_same_product ... ok
[INFO] [stdout] test tests::order_zero_products ... ok
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/resource_mng-e2badf724af4d46b)
[INFO] [stdout] test tests::add_prod_zero_mat ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-5cfad8f8dbfd6a3a)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test order_enough_mat ... ok
[INFO] [stdout] test order_two_same_mat ... ok
[INFO] [stdout] test order_nenough_mat ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- order_nenough_mat stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'order_nenough_mat' (26) panicked at tests/integration_tests.rs:30:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: 5
[INFO] [stdout]  right: 4
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5e224323a468 - std[929523f510218772]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5e224323a468 - std[929523f510218772]::backtrace_rs::backtrace::trace_unsynchronized::<std[929523f510218772]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5e224323a468 - std[929523f510218772]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5e224323a468 - <<std[929523f510218772]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[28b146924c2f19c6]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5e224324e71a - <core[28b146924c2f19c6]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5e224324e71a - core[28b146924c2f19c6]::fmt::write
[INFO] [stdout]    6:     0x5e224323ed32 - std[929523f510218772]::io::default_write_fmt::<alloc[95e62e727ddf147d]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:622:11
[INFO] [stdout]    7:     0x5e224323ed32 - <alloc[95e62e727ddf147d]::vec::Vec<u8> as std[929523f510218772]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:1977:13
[INFO] [stdout]    8:     0x5e2243219616 - <std[929523f510218772]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5e2243219616 - std[929523f510218772]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5e22432329b9 - std[929523f510218772]::panicking::default_hook
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5e22431c531c - <alloc[95e62e727ddf147d]::boxed::Box<dyn for<'a, 'b> core[28b146924c2f19c6]::ops::function::Fn<(&'a std[929523f510218772]::panic::PanicHookInfo<'b>,), Output = ()> + core[28b146924c2f19c6]::marker::Sync + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::Fn<(&std[929523f510218772]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2291:9
[INFO] [stdout]   12:     0x5e22431c531c - test[6ec0502068880816]::test_main_inner::<test[6ec0502068880816]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5e2243232b72 - <alloc[95e62e727ddf147d]::boxed::Box<dyn for<'a, 'b> core[28b146924c2f19c6]::ops::function::Fn<(&'a std[929523f510218772]::panic::PanicHookInfo<'b>,), Output = ()> + core[28b146924c2f19c6]::marker::Sync + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::Fn<(&std[929523f510218772]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2291:9
[INFO] [stdout]   14:     0x5e2243232b72 - std[929523f510218772]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5e22432196d2 - std[929523f510218772]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5e224320e8a9 - std[929523f510218772]::sys::backtrace::__rust_end_short_backtrace::<std[929523f510218772]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5e224321a3ed - __rustc[acf6043c977865fb]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5e224324ee6c - core[28b146924c2f19c6]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5e224324ed23 - core[28b146924c2f19c6]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x5e22431b6fa9 - core[28b146924c2f19c6]::panicking::assert_failed::<u8, u8>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x5e22431b75e4 - integration_tests[d2cc2a6913e2e9e1]::order_nenough_mat
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/integration_tests.rs:30:5
[INFO] [stdout]   22:     0x5e22431b7197 - integration_tests[d2cc2a6913e2e9e1]::order_nenough_mat::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/integration_tests.rs:25:23
[INFO] [stdout]   23:     0x5e22431b82e6 - <integration_tests[d2cc2a6913e2e9e1]::order_nenough_mat::{closure#0} as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5e22431b83fb - <fn() -> core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5e22431b83fb - test[6ec0502068880816]::__rust_begin_short_backtrace::<core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>, fn() -> core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:724:18
[INFO] [stdout]   26:     0x5e22431c5c75 - test[6ec0502068880816]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:747:74
[INFO] [stdout]   27:     0x5e22431c5c75 - <core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   28:     0x5e22431c5c75 - std[929523f510218772]::panicking::catch_unwind::do_call::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>, core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x5e22431c5c75 - std[929523f510218772]::panicking::catch_unwind::<core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>, core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x5e22431c5c75 - std[929523f510218772]::panic::catch_unwind::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>, core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5e22431c5c75 - test[6ec0502068880816]::run_test_in_process
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:747:27
[INFO] [stdout]   32:     0x5e22431c5c75 - test[6ec0502068880816]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:668:43
[INFO] [stdout]   33:     0x5e22431c07d4 - test[6ec0502068880816]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:698:41
[INFO] [stdout]   34:     0x5e22431c07d4 - std[929523f510218772]::sys::backtrace::__rust_begin_short_backtrace::<test[6ec0502068880816]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x5e22431c8cf2 - std[929523f510218772]::thread::lifecycle::spawn_unchecked::<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   36:     0x5e22431c8cf2 - <core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   37:     0x5e22431c8cf2 - std[929523f510218772]::panicking::catch_unwind::do_call::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x5e22431c8cf2 - std[929523f510218772]::panicking::catch_unwind::<(), core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x5e22431c8cf2 - std[929523f510218772]::panic::catch_unwind::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5e22431c8cf2 - std[929523f510218772]::thread::lifecycle::spawn_unchecked::<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   41:     0x5e22431c8cf2 - <std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1} as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5e2243239dcf - <alloc[95e62e727ddf147d]::boxed::Box<dyn core[28b146924c2f19c6]::ops::function::FnOnce<(), Output = ()> + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2277:9
[INFO] [stdout]   43:     0x5e2243239dcf - <std[929523f510218772]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   44:     0x7eaad5c60aa4 - <unknown>
[INFO] [stdout]   45:     0x7eaad5ceda64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     order_nenough_mat
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test integration_tests`
[INFO] running `Command { std: "docker" "inspect" "562a193d0c7e5681ae63488e72c12f3b8c98e6223b1aa8089975a8bd86152e4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "562a193d0c7e5681ae63488e72c12f3b8c98e6223b1aa8089975a8bd86152e4f", kill_on_drop: false }`
[INFO] [stdout] 562a193d0c7e5681ae63488e72c12f3b8c98e6223b1aa8089975a8bd86152e4f
